##
## Makefile for game1 in /home/goupil_r//GameInLab/game1
## 
## Made by robin goupil
## Login   <goupil_r@epitech.net>
## 
## Started on  Thu Nov 15 15:46:18 2012 robin goupil
## Last update Sun Nov 18 16:23:25 2012 robin goupil
##

SRC_D	=	./src

SRC	=	$(SRC_D)/main.c \
		$(SRC_D)/player.c \
		$(SRC_D)/zomzom.c \
		$(SRC_D)/world.c \
		$(SRC_D)/zombie.c \
		$(SRC_D)/utils.c \
		$(SRC_D)/drawing.c \
		$(SRC_D)/input.c \
		$(SRC_D)/collision.c \
		$(SRC_D)/shooting.c

NAME	=	zomzom

all:		$(NAME)

$(NAME):
	cc -o $(NAME) $(SRC) -lSDL -lSDLmain -lmy -Llib -lSDL_image -Llib -lm

fclean:
	rm -f $(NAME)

.PHONY:		all $(NAME) fclean